Skip to main content
Version: 1.x.x

LoggerResponseEventData


import { LoggerResponseEventData } from "@hyper-fetch/core"

Description

Defined in managers/logger/logger.manager.types.ts:30

Preview

type LoggerResponseEventData = {
command: CommandInstance;
details: CommandResponseDetails;
requestId: string;
response: ClientResponseType<unknown, unknown>;
}

Structure

{
command: Command<any, any, any, any, any, any, any, any, any, any, any>;
details: {
isCanceled: boolean;
isFailed: boolean;
isOffline: boolean;
retries: number;
timestamp: number;
};
requestId: string;
response: [GenericDataType | null, GenericErrorType | null, number | null];
}